package org.kmfdm.horrorscope.metamodel.beans;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

import org.kmfdm.horrorscope.core.beans.BaseBean;
import org.kmfdm.horrorscope.metamodel.User;

@SuppressWarnings("serial")
@Entity
@Inheritance(strategy=InheritanceType.JOINED)
public class UserBean extends BaseBean implements User {
	
	private String username;
	private String password;
	private String name;
	
	
	public UserBean(){
	}
	@Basic
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@Basic
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	@Basic
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
	
		this.password = password;
	}
	
	
	

}
